# def wsum(n):
#     i = 0
#     s = 0
#     while (i < n):
#         i += 1
#         s = s + i
#     print(s)
#
#
# wsum(100)


# i = a = 1
#
# while i < 100:
#     i = i + 1
#     a = a + i
#     print(a)


def wsum(n):
    i = a = 1
    while i < n:
        i += 1
        a = a + i
        print(a)


wsum(101)
